package uoc.biblioteca.struts.form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionMapping;

import uoc.biblioteca.mappings.object.ProveedorVo;
import uoc.biblioteca.mappings.object.SolicitudLlibreVo;


public class GestionProveedorForm extends BaseForm {
	
	private static final long serialVersionUID = 1L;

	private ProveedorVo[] proveedores;
	
	private Integer idProveedor;
	private String nom;
	private String codeProveedor;
	private Integer isExport;
	private boolean checkExport;
	
	
		/** 
		 * Method reset
		 * @param mapping
		 * @param request
		 */
		public void reset(ActionMapping mapping, HttpServletRequest request) {
	
		}
		
		public void cleanFields(ActionMapping mapping, HttpServletRequest request) {
			this.idProveedor=null;
			this.nom="";
			this.codeProveedor="";
	
		}

		public ProveedorVo[] getProveedores() {
			return proveedores;
		}

		public void setProveedores(ProveedorVo[] proveedores) {
			this.proveedores = proveedores;
		}

		public Integer getIdProveedor() {
			return idProveedor;
		}

		public void setIdProveedor(Integer idProveedor) {
			this.idProveedor = idProveedor;
		}

		public String getNom() {
			return nom;
		}

		public void setNom(String nom) {
			this.nom = nom;
		}

		public String getCodeProveedor() {
			return codeProveedor;
		}

		public void setCodeProveedor(String codeProveedor) {
			this.codeProveedor = codeProveedor;
		}

		public Integer getIsExport() {
			return isExport;
		}

		public void setIsExport(Integer isExport) {
			this.isExport = isExport;
		}

		public boolean isCheckExport() {
			return checkExport;
		}

		public void setCheckExport(boolean checkExport) {
			this.checkExport = checkExport;
		}

		
		
}
